package com.github.livebase.storage;

/**
 * @ClassName LocalStore
 * @description: 给插件使用的Store接口
 * @author: biao532
 * @create: 2023-12-18 18:56
 * @Version 1.0
 **/
public interface LocalStorage {

    public<T> T get(String key);

    public<T> T get(String key, T defaultValue);

    public<T> boolean put(String key, T value);

    public<T> boolean put(String key, T value, long expire);

    public boolean delete(String key);

    public boolean contains(String key);

    public boolean clear();
}
